<?php
//中间件配置
return [
    //全局中间件
    'global'     => ['system\middleware\global'],
    //路由中间件
    'middleware' => ['bootstrap'=>'system\middleware\Bootstrap'],
];